﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WooCoo
{
    public static class EnumExtension
    {
        public static string ToLocalString(this StringID sid)
        {
            return Localizer.Active.GetLocalizeString(sid);
        }

        public static string ToLocalStringFormat(this StringID sid, params string[] para)
        {
            return Localizer.Active.GetLocalizeString(sid,para);
        }
    }
}
